package com.ztc.ZtcApp.bean;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import org.hibernate.annotations.GenericGenerator;
import com.aqgj.util.BaseEntity;

@Entity
@Table(name = "ztc_app")
public class ZtcApp implements BaseEntity{

    /**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private String id;//

    private String appAddress;//appå­˜æ”¾åœ°å�€

    private String name;

    private String appDownUrl;//appä¸‹è½½åœ°å�€

    private String appVersion;//appç‰ˆæœ¬å�·
    
    private Integer downLoadCount;

    private String remark;//è¯´æ˜Ž

    private java.util.Date uploadDate;//ä¸Šä¼ æ—¶é—´

    private String uploadUserId;//ä¸Šä¼ ç”¨æˆ·id

    public void setId(String value){
        this.id = value;
    }
    public void setAppAddress(String value){
        this.appAddress = value;
    }
    public void setName(String value){
        this.name = value;
    }
    public void setAppDownUrl(String value){
        this.appDownUrl = value;
    }
    public void setAppVersion(String value){
        this.appVersion = value;
    }
    public void setRemark(String value){
        this.remark = value;
    }
    public void setUploadDate(java.util.Date value){
        this.uploadDate = value;
    }
    public void setUploadUserId(String value){
        this.uploadUserId = value;
    }
    
	public void setDownLoadCount(Integer downLoadCount) {
		this.downLoadCount = downLoadCount;
	}
	@Id
    @GeneratedValue(generator = "system-uuid")
    @GenericGenerator(name = "system-uuid", strategy = "uuid")
    @Column(name ="id",unique=true,nullable=false,insertable=true,updatable=true,length=32)
    public String getId(){
        return this.id;
    }
    @Column(name ="name",unique=false,nullable=true,insertable=true,updatable=true,length=50)
    public String getName(){
        return this.name;
    }
    @Column(name ="app_address",unique=false,nullable=true,insertable=true,updatable=true,length=256)
    public String getAppAddress(){
        return this.appAddress;
    }
    @Column(name ="app_down_url",unique=false,nullable=true,insertable=true,updatable=true,length=256)
    public String getAppDownUrl(){
        return this.appDownUrl;
    }
    @Column(name ="app_version",unique=false,nullable=true,insertable=true,updatable=true,length=10)
    public String getAppVersion(){
        return this.appVersion;
    }
    @Column(name ="remark",unique=false,nullable=true,insertable=true,updatable=true,length=2147483647)
    public String getRemark(){
        return this.remark;
    }
    @Column(name ="upload_date",unique=false,nullable=true,insertable=true,updatable=true,length=0)
    public java.util.Date getUploadDate(){
        return this.uploadDate;
    }
    @Column(name ="upload_user_id",unique=false,nullable=true,insertable=true,updatable=true,length=32)
    public String getUploadUserId(){
        return this.uploadUserId;
    }
    @Column(name ="download_count",unique=false,nullable=true,insertable=true,updatable=true,length=4)
    public Integer getDownLoadCount() {
  		return downLoadCount;
  	}
} 
